#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio,h>
#include <stdlib.h>
int main()
{
	int = a;

		scanf("%d", &a);
		if(a>=18)
		{
			printf("haha\n");
			printf("hehe\n");

		}
		else
		{
			printf("nana\n");
			printf("nene\n");

		}
		return 0;

}